package main

import "fmt"

/*
* Author: JacksonCoder
* CreateTime: 2024/11/30
 */

func Array() {
	a1 := [3]int{4, 5, 6}

	fmt.Printf("a1: %v, len=%d, cap=%d \n", a1, len(a1), cap(a1))

	a2 := [3]int{3, 4}
	fmt.Printf("a2: %v, len=%d, cap=%d \n", a2, len(a2), cap(a2))

	var a3 [3]int
	fmt.Printf("a3: %v, len=%d, cap=%d \n", a3, len(a3), cap(a3))

}
